//
//  ZYProportionView.h
//  YiLin
//
//  Created by Zyark on 2018/6/7.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZYProportionView;
@protocol ZYProportionViewDelegate <NSObject>
@optional
/**
 比例设置
 @param proportionView 当前view
 @param value 当前比例
 */
-(void)proportionView:(ZYProportionView *)proportionView doConfirm:(CGFloat)value;

@end
@interface ZYProportionView : UIView
@property(nonatomic,weak)id<ZYProportionViewDelegate> delegate;
/**
 显示或关闭
 */
-(void)showOrHidden;

/**
 关闭
 */
-(void)close;

@property(nonatomic,assign)CGFloat realHeight;

/**
 比例
 */
@property(nonatomic,assign) int proportion;
@end
